﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using PessModel;

namespace PessMvc.Models
{
    public class ArchiveProperty
    {
        public int Id { get; set; }           // Integer value of a checkbox
        public string Name { get; set; }      // String name of a checkbox
        public string LocalName { get; set; }
        //public object Tags { get; set; }      // Object of html tags to be applied to checkbox, e.g.: 'new { tagName = "tagValue" }'
        public bool IsSelected { get; set; }  // Boolean value to select a checkbox on the list
        public string Value { get; set; }
    }

    public class ExportArchiveListModel
    {
        public List<ArchiveProperty> Properties { get; set; }
        public IEnumerable<GetArchiveList_Result> Archives { get; set; }
        public string[] SelectedProperties { get; set; }
        public int SelectedSubjectID { get; set; }
    }
    //public class PostedArchiveProperties
    //{
    //    public string[] PropertyNames { get; set; }
    //} 

    //public class ArchivePropertiesModel
    //{
    //    public IList<ArchiveProperty> AvailableProperties { get; set; }
    //    public IList<ArchiveProperty> SelectedProperties { get; set; }
    //    public PostedArchiveProperties PostedArchiveProperties { get; set; }
    //}
}